<div class="contents">
  <ol class="breadcrumb">
    <li><a href="#/index/panel">首页</a></li>
    <li><a href="#/url/list">资源列表</a></li>
    <li class="active">新增资源</li>
  </ol>
  <form class="form-horizontal" role="form" name="form" ng-submit="save()" novalidate> 
    <div class="form-group" ng-class="{'has-error':form.actionName.$invalid}">
      <label class="col-sm-2 control-label">资源地址</label>
      <div class="col-sm-5">
        <input type="text" class="form-control" placeholder="资源地址,目前也就是url地址" name="actionName" ng-model="item.actionName" required="required">
      </div>
    </div>
    <div class="form-group" ng-class="{'has-error':form.actionfunction.$invalid}">
      <label for="advertLinkInput" class="col-sm-2 control-label">资源描述</label>
      <div class="col-sm-5">
        <input type="text" class="form-control" id="advertLinkInput" placeholder="资源描述" name="actionfunction" ng-model="item.actionfunction" required="required">
      </div>
    </div>  
    <div class="form-group" ng-class="{'has-error':form.actionRemark.$invalid}">
      <label class="col-sm-2 control-label">资源备注信息</label>
      <div class="col-sm-5">
        <input type="text" class="form-control" placeholder="资源备注信息" name="actionRemark" ng-model="item.actionRemark">
      </div>
    </div> 
    <div class="form-group">
      <div class="col-sm-offset-2 col-sm-5">
        <button type="submit" class="btn btn-default">提交</button>
      </div>
    </div>
  </form>
</div>

